package com.letoken.platform.repo.admin.req.user;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;


/**
 * @author letokenlabs
 * @date 2022/11/23$
 */
@Data
@ApiModel(value = "是否锁定用户请求对象", description = "是否锁定用户请求对象")
public class IsLockedUserReq {

    @NotNull(message = "用户id不能为空！")
    @ApiModelProperty(value = "用户id", example = "10000011")
    private Integer userId;

    @NotNull(message = "是否锁定不能为空！")
    @ApiModelProperty(value = "账号是否锁定 0正常 1锁定", example = "1")
    private Boolean locked;


}
